package com.peng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {
    @RequestMapping("t1")
    public String test(Model model){
        model.addAttribute("msg","Hello");
        return "hello";
    }


}
